import request from '@/utils/request'

// 会议室使用登记分页
export function getList(params) {
  return request({
    url: '/outboundConnectionInfo/list',
    method: 'POST',
    params
  })
}

// 新增外联对接信息
export function addDocking(data) {
  return request({
    url: '/outboundConnectionInfo/add',
    method: 'POST',
    data
  })
}

// 查询
export function selectDocking(params) {
  return request({
    url: '/outboundConnectionInfo/load',
    method: 'POST',
    params
  })
}

// 删除会议室使用登记
export function deleteDocking(data) {
  return request({
    url: '/outboundConnectionInfo/delete',
    method: 'post',
    data
  })
}

// 修改会议室使用登记
export function updateDocking(data) {
  return request({
    url: '/outboundConnectionInfo/update',
    method: 'post',
    data
  })
}
